import { actionType } from './index';
import { fromJS } from 'immutable';
const defaultSate = fromJS({
    detail_Data:{}
})

export default (state = defaultSate,action)=>{
     switch(action.type){
         case actionType.CHANGE_DETAILDATE:
          return state.set('detail_Data',action.data);
        default:
         return state;
     }
}